package practice;

import java.util.Scanner;

public class FloatPactise {
    public static void main(String[] args) {
        Scanner stdIn=new Scanner(System.in);
        System.out.println("输入一个浮点数a： ");
        float a=stdIn.nextFloat();
        System.out.println("在输入一个浮点数b：");
        double b=stdIn.nextDouble();
        System.out.println("a="+a);
        System.out.println("b="+b);
    }
}
